import { createSlice, createAsyncThunk } from "@reduxjs/toolkit";

// 仓库管理

const initialState = {
  storageList: [],
}
const todosSlice = createSlice({
  name: "storageSlice",
  initialState,
  reducers: {
    todoAdded(state, action) {

    },
    todoToggled(state, action) {

    },
  },
});

export const actionsFn = todosSlice.actions;
export default todosSlice.reducer;

export const async_GetList = createAsyncThunk('getList', async (obj, store) => {

})